(function() {
  var MyPageView, PageView,
    __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  PageView = require('./../page_view');

  module.exports = MyPageView = (function(_super) {

    __extends(MyPageView, _super);

    function MyPageView() {
      return MyPageView.__super__.constructor.apply(this, arguments);
    }

    MyPageView.prototype.subscribeToControlsEvents = function() {};

    MyPageView.prototype.subscribeToDataSourceEvents = function() {};

    MyPageView.prototype.initialize = function() {
      this.subscribeToDataSourceEvents();
      this.subscribeToControlsEvents();
      return MyPageView.__super__.initialize.apply(this, arguments);
    };

    MyPageView.prototype.render = function() {
      console.debug('MyPageView#render');
      return MyPageView.__super__.render.apply(this, arguments);
    };

    MyPageView.prototype.renderSubviews = function() {
      MyPageView.__super__.renderSubviews.apply(this, arguments);
      return console.debug('MyPageView#renderSubviews-Start');
    };

    MyPageView.prototype.closeSubView = function(name) {
      var detView;
      detView = this.subviewsByName[name];
      if (detView != null) {
        return $(detView.el).remove();
      } else {
        return this.removeSubview(name);
      }
    };

    return MyPageView;

  })(PageView);

}).call(this);
